package com.xiangban.dao;

import com.xiangban.model.AccompanyReceiveOrder;
import com.xiangban.model.UserAccompany;
import com.xiangban.model.dto.AccompanyReceiveOrderDto;
import com.xiangban.model.dto.OrderDto;
import org.springframework.stereotype.Repository;

/**
 * @Author ly
 * @date 2021/12/8 9:59
 */
@Repository
public interface AccompanyReceiveOrderMapper {

    void insertBinding(AccompanyReceiveOrderDto accompanyReceiveOrder);

    void updateByReceive(AccompanyReceiveOrderDto accompanyReceiveOrder);

    Integer getContByAccompanyId(UserAccompany userAccompanyInfo);

    Integer getNowToMonth(UserAccompany userAccompanyInfo);

    AccompanyReceiveOrderDto getOrderSum(UserAccompany userAccompany);

    AccompanyReceiveOrder getReceiveByOrderNo(OrderDto orderByOrderNo);
}
